<html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">

    <ui:composition template="layout.xhtml">

        <ui:define name="title">
            Cliente
        </ui:define>

        <ui:define name="content">
            <h:form id="pesquisarClienteForm">
                <p:messages id="pesquisarPessoaMessages" autoUpdate="true" />
                <div class="row">
                    <div class="column2">
                        <p:menu>
                            <p:submenu label="Menu">
                                <p:menuitem url="criarCliente.xhtml" value="Cadastrar" />
                                <p:menuitem url="pesquisarCliente.xhtml" value="Pesquisar" />
                            </p:submenu>
                        </p:menu>
                    </div>
                </div>
            </h:form>
            
            <script>
                $(document).ready(function() {
                    setSelectedMenu('#cliente');
               });
            </script>
            
        </ui:define>      

    </ui:composition>

</html>
